﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Net
{
    public class Context
    {
        private Socket _socket;

        public Context(Socket socket)
        {
            this._socket = socket;
        }

        public void Send(Package package)
        {
            _socket.Send(package.GetFullBuffer());
        }
    }
}
